<?php

namespace models\Exception\Business;

use Exception;


class TurnoverException extends Exception {
    const TURNOVER_IS_NOT_EXISTS = '金豆余额流水不存在';

    const TURNOVER_IS_NOT_EXISTS_NO = '400';

    const TURNOVER_CREATE_FAILURE = '金豆余额流水创建失败';

    const TURNOVER_CREATE_FAILURE_NO = '422';

    const TURNOVER_EDIT_FAILURE = '金豆余额流水编辑失败';

    const TURNOVER_EDIT_FAILURE_NO = '422';

    const TURNOVER_ID_IS_EMPTY = '金豆余额流水编号不能为空';

    const TURNOVER_ID_IS_EMPTY_NO = '400';

    const TURNOVER_DENIED = "无权发起提现或转余额";
    const TURNOVER_DENIED_NO = "403";

    const TURNOVER_LIST_DENIED = "无权查看提现记录";
    const TURNOVER_LIST_DENIED_NO = "403";

    const INTEGRAL_NOT_ENOUGH = "积分不足";
    const INTEGRAL_NOT_ENOUGH_NO = "400";

    const BALANCE_NOT_ENOUGH = "余额不足";
    const BALANCE_NOT_ENOUGH_NO = "400";

    const WITHDRAW_SUCCESS = "提现成功";
    const EXCHANGE_SUCCESS = "转换余额成功";

    const INVALID_OPERATING = "非法操作";
    const INVALID_OPERATING_NO = "400";

    const WITHDRAW_DAILY_LIMIT = "每日只能申请提现一次";
    const WITHDRAW_DAILY_LIMIT_NO = "400";

    const INVALID_STATS = "无效状态";
    const INVALID_STATS_NO = "400";

    const WITHDRAW_WITHOUT_ACCOUNT = "提现账号不能为空";
    const WITHDRAW_WITHOUT_ACCOUNT_NO = "400";

    const WITHDRAW_REVIEW_FAILURE = "提现审核失败";
    const WITHDRAW_REVIEW_FAILURE_NO = "422";

}
